package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.etone.smartAudit.enums.StateType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: sovy
 * @date: 2020/8/18
 * @description: 审计案例库领域
 */

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@TableName(value = "f_field")
public class Field implements Serializable {

    @TableId(type = IdType.AUTO, value = "intCityId")
    private Integer id;

    /**
     * 名称
     */
    @TableField("vcName")
    private String name;

    /**
     * 说明｜介绍
     */
    @TableField("vcRemark")
    private String remark;

    /**
     * 封面
     */
    @TableField("vcCover")
    private String cover;

    /**
     * 排序
     */
    @TableField("intSort")
    private Integer sort;

    /**
     * 有效性
     */
    @TableField("vcState")
    private StateType state;

}
